package com.tsing.common.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_log")
public class LogVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    private String userId;//操作人id

    private String requestIp; //操作ip

    private LocalDateTime actionDate;// 操作时间

    private String actionClass;//请求的类

    private String actionMethod;//请求方法

    private String methodType;//操作类型

    private String description;//操作描述

    private String params;//请求参数

    private String exception;//异常

}